package com.hejielife.threadpermessage1;

/**
 * 2019年8月2日 下午5:29:48
 * 
 * @author hejielife
 * @despribe Host
 */
public class Host {
	private final Helper helper = new Helper();

	public void request(final int count, final char c) {
		System.out.println("    request(" + count + ", " + c + ") BEGIN");
		new Thread() {
			public void run() {
				helper.handle(count, c);
			}
		}.start();
		System.out.println("    request(" + count + ", " + c + ") END");
	}
}
